package com.kabigon.tiny.exception;

import com.kabigon.tiny.constant.IResponseEnum;

/**
 * 业务异常
 * 业务处理时，出现异常，可以抛出该异常
 *
 * @author xu.biao
 * @version v1.0
 * @Package com.kabigon.tiny.exception
 * @data 2022/5/6 23:16
 */
public class BusinessException extends BaseException {


    private static final long serialVersionUID = 6544924483584988160L;

    public BusinessException(IResponseEnum responseEnum, Object[] args, String message) {
        super(responseEnum, args, message);
    }

    public BusinessException(IResponseEnum responseEnum, Object[] args, String message, Throwable cause) {
        super(responseEnum, args, message, cause);
    }
}
